import React, { PureComponent } from 'react';
import { StyleSheet, View, Text } from 'react-native';

type Props = {
  Text?: String,
  Size?: Number,
  Color?: String
}
type State = {

}

class TextComponent extends PureComponent<Props, State> {
  constructor(props) {
    super(props);
    this.state = {
    };
  }

  render () {
    let { Text, Size, Color } = this.props
    return (
      <Text style={{ fontSize: Size, color: Color }}>{Text}</Text>
    );
  }
}

const styles = StyleSheet.create({

})
export default TextComponent;